package com.ruoyi.game.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * ECPM记录对象 game_ecpm_record
 * 
 * @author ruoyi
 * @date 2024-03-22
 */
public class GameEcpmRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long ecpmId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 用户名称 */
    @Excel(name = "用户名称")
    private String userName;

    /** 红包金额 */
    @Excel(name = "红包金额")
    private BigDecimal ecpmMoney;

    /** ecpm数值 */
    @Excel(name = "ecpm数值")
    private String ecpmTotal;

    /** 描述 */
    @Excel(name = "描述")
    private String ecpmDesc;

    /** 广告商 */
    @Excel(name = "广告商")
    private String ecpmAd;

    /** 用户IP */
    @Excel(name = "用户IP")
    private String userIp;

    /** 设备ID */
    @Excel(name = "设备ID")
    private String userDeviceId;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date creationTime;

    public void setEcpmId(Long ecpmId) 
    {
        this.ecpmId = ecpmId;
    }

    public Long getEcpmId() 
    {
        return ecpmId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setEcpmMoney(BigDecimal ecpmMoney) 
    {
        this.ecpmMoney = ecpmMoney;
    }

    public BigDecimal getEcpmMoney() 
    {
        return ecpmMoney;
    }
    public void setEcpmTotal(String ecpmTotal) 
    {
        this.ecpmTotal = ecpmTotal;
    }

    public String getEcpmTotal() 
    {
        return ecpmTotal;
    }
    public void setEcpmDesc(String ecpmDesc) 
    {
        this.ecpmDesc = ecpmDesc;
    }

    public String getEcpmDesc() 
    {
        return ecpmDesc;
    }
    public void setEcpmAd(String ecpmAd) 
    {
        this.ecpmAd = ecpmAd;
    }

    public String getEcpmAd() 
    {
        return ecpmAd;
    }
    public void setUserIp(String userIp) 
    {
        this.userIp = userIp;
    }

    public String getUserIp() 
    {
        return userIp;
    }
    public void setUserDeviceId(String userDeviceId) 
    {
        this.userDeviceId = userDeviceId;
    }

    public String getUserDeviceId() 
    {
        return userDeviceId;
    }
    public void setCreationTime(Date creationTime) 
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime() 
    {
        return creationTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ecpmId", getEcpmId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("ecpmMoney", getEcpmMoney())
            .append("ecpmTotal", getEcpmTotal())
            .append("ecpmDesc", getEcpmDesc())
            .append("ecpmAd", getEcpmAd())
            .append("userIp", getUserIp())
            .append("userDeviceId", getUserDeviceId())
            .append("creationTime", getCreationTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
